/* Checkbox */
.checkbox-label {
  @apply select-none cursor-pointer;
}
.checkbox-input {
  font: inherit;
  color: currentColor;
  @apply inline-block p-0 m-0 align-middle appearance-none cursor-pointer shrink-0;
}

.checkbox-input:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.checkbox-input:disabled+.checkbox__label {
  @apply cursor-not-allowed pointer-events-none;
}

.checkbox-input:disabled {
  @apply text-gray-200 cursor-not-allowed;
}
